package com.yiyi.service;

import com.yiyi.entity.Result;
import com.yiyi.form.AddResultForm;
import com.yiyi.form.CorrectPaperForm;

import java.util.List;

/**
 * @author yiyi
 * @date 2021/5/31
 */
public interface ResultService {
    String saveResult(AddResultForm addResultForm);
    int saveChoiceGrade(String resultId, List<String> realKey, List<Integer> choiceGrade);
    int saveGrade(CorrectPaperForm correctPaperForm);
    Result findById(String id);
    Result findByUerIdAndExamIds(String userId, List<String> examIds);
}
